﻿using System;
using System.Collections.Generic;
using System.Web;

namespace CarPublishing
{
    public class Producer
    {
        public string Name { get; set; }
        public List<string> Models { get; set; }

        public Producer(string name,IEnumerable<string> models)
        {
            this.Name = name;
            this.Models = new List<string>();
            this.Models.AddRange(models);
        }
    }
}